home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20010921-20020314
/
000181_jfmezei.spamnot@videotron.ca_Fri Nov 30 11:41:12 EST 2001.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
2KB
|
38 lines
Article: 13005 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!sunqbc.risq.qc.ca!wesley.videotron.net!weber.videotron.net.POSTED!not-for-mail
Message-ID: <3C07B621.43E03A24@videotron.ca>
From: JF Mezei <jfmezei.spamnot@videotron.ca>
X-Mailer: Mozilla 4.76 (Macintosh; U; PPC)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc,comp.os.vms
Subject: Re: How to use Kermit within a VMS command procedure?
References: <de844d64.0111291335.6c275174@posting.google.com> <9u6an3$egb$1@newsmaster.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 17
Date: Fri, 30 Nov 2001 11:39:02 -0500
NNTP-Posting-Host: 24.202.14.25
X-Complaints-To: abuse@videotron.ca
X-Trace: weber.videotron.net 1007138262 24.202.14.25 (Fri, 30 Nov 2001 11:37:42 EST)
NNTP-Posting-Date: Fri, 30 Nov 2001 11:37:42 EST
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13005 comp.os.vms:311418
re: using kermit in a command procedure:
$define/user/nolog sys$command sys$input
$run kermit.exe
set line TXC1:
set speed 38000
etc
SEND myfile.txt
exit
$write sys$output "done"
Another way to do this is to have kermit invoke a script and let the script do
all the processing
I don't think that the old kermit-32 has access to cli symbols and logicals
for its scripting, but you can still define a logical name "myfile" before
invoking kermit and in kermit, you use a command such as "send myfile"